import app from "./app";
import { connectDB } from "./config/db";
import config from "./config";

connectDB();

app.listen(config.port, () => {
  console.log(`🚀 服务已启动：http://localhost:${config.port}`);
});
